<template>
    <div>
      <el-row>
        <el-col span="20" offset="3">
          <el-table
            :data="tableData"
            border
            style="width: 100%">
            <el-table-column
              prop="orderNo"
              label="订单编号">
            </el-table-column>
            <el-table-column
              prop="goodName"
              label="商品名称">
            </el-table-column>
            <el-table-column
              prop="goodNo"
              label="商品编号">
            </el-table-column>
            <el-table-column
              prop="memberNo"
              label="会员账号">
            </el-table-column>
            <el-table-column
              prop="orderMoney"
              label="订单金额">
            </el-table-column>
            <el-table-column
              prop="store"
              label="门店名称">
            </el-table-column>
            <el-table-column
              prop="terminal"
              label="终端编号">
            </el-table-column>
            <el-table-column
              prop="goodsCount"
              label="商品总数量">
            </el-table-column>
            <el-table-column
              prop="userName"
              label="收银人员">
            </el-table-column>
            <el-table-column>
              <el-button type="primary" @click="onSubmit">确认支付</el-button>
            </el-table-column>
          </el-table>
        </el-col>
      </el-row>
    </div>
</template>

<script>
    export default {
        name: "SetSales",
      data() {
        return {
            tableData: [{
              orderNo: '2016-05-02',
              goodName: '王小虎',
              goodNo: '上海市普陀区金',
              memberNo:'',
              orderMoney:'',
              store:'',
              terminal:'',
              goodsCount:'',
              userName:''
            }, ]
        }
      },
      methods: {
        onSubmit() {
          console.log('submit!');
        }
      }
    }
</script>

<style scoped>

</style>
